﻿using GIMS.Def.Settings;

namespace GIMS.GUI.GeneralConfig
{
    public class SettingRepresenter : ArgumentRepresenter
    {
        private Setting setting;

        public SettingRepresenter(Setting setting)
            : base(setting.Argument, setting.Name, setting.Description)
        {
            this.setting = setting;
        }

        public bool IsActive
        {
            get { return setting.Active; }
            set { setting.Active = value; }
        }
    }
}
